<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.netcombine.freewill.constants.*, com.netcombine.freewill.vo.FreewillVo, com.netcombine.freewill.lib.Paging,com.netcombine.freewill.vo.PagingVo" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%

	FreewillVo userVo = (FreewillVo)request.getAttribute("userInfo");
	String nid = "";
	String name = "";
	String birthday = "";
	String hp = "";
	String address1 = "";
	String address2 = "";
	String communityCnt = "";
	String share_cnt = "";
	String request_cnt = "";
	String forkCnt = "";

	if(userVo !=null){
	
	nid = userVo.getNid() == null ? "" : userVo.getNid();
	name = userVo.getName() == null ? "" : userVo.getName();
	birthday = userVo.getBirthday() == null ? "" : userVo.getBirthday();
	hp = userVo.getHp() == null ? "" : userVo.getHp();
	address1 = userVo.getAddress1() == null ? "" : userVo.getAddress1();
	address2 = userVo.getAddress2() == null ? "" : userVo.getAddress2();
	communityCnt = userVo.getCommunityCnt() == null ? "" : userVo.getCommunityCnt();
	share_cnt = userVo.getShareCnt() == null ? "" : userVo.getShareCnt();
	request_cnt = userVo.getRequestCnt() == null ? "" : userVo.getRequestCnt();
	forkCnt = userVo.getForkCnt() == null ? "" : userVo.getForkCnt();
}

%>
<html>
<head>
<title><%=PageInfo.TITLE%> - 회원 상세페이지</title>
	<link rel="stylesheet" href="../css/default.css" media="all">
	<script type="text/javascript" src="../js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="../js/common.js"></script>	
</head>
<body>
<div class="wrap">
<!--#include file= 'header.asp'-->

<!-- Container -->
<div class="container">
<div>

	<!-- LNB -->
<!--#include file= 'lnb.asp'-->
<!-- LNB  //-->

<!-- Content -->
<div class="content">
<div class="content">

<!-- locatioin -->
<div class="location">
	<h1>회원관리</h1>
	
	<ul>
		<li class="home"><a href="#none"><span>home</span></a> &gt;</li>
		<li><a href="#none">회원관리</a> &gt;</li>
		<li><strong>회원관리</strong></li>
	</ul>
</div>
<!-- locatioin // -->

<!-- table -->
<div class="member_d tb_lecture">
	<table summary="회원관리, 회원정보수정">
		<caption>회원정보수정</caption>
<colgroup>
<col style="width:15%;" />
<col style="width:*;" />
</colgroup>
		<tbody>
		<tr>
		
			<th scope="col">이름</th>
			<td><input type="text" class="i_text inw1" value="<%=name%>"></td>
		</tr>
		<tr>
			<th scope="col">생일</th>
			<td><input type="text" class="i_text inw1" value="<%=birthday%>"></td>
		</tr>
		<tr>
			<th scope="col">핸드폰</th>
			<td>
				<select>
					<option>010</option>
				</select> -
				<input type="text" class="i_text inw2"> - <input type="text" class="i_text inw2" value="<%=hp%>">
			</td>
		</tr>
		<tr>
			<th scope="col" rowspan="2">주소</th>
			<td class="zipcode">
				<input type="text" class="i_text inw6" value="<%=address1%>"> - <input type="text" class="i_text inw6" value="<%=address2%>">
				<span class="btn_gray1"><a href="#none">우편번호 찾기</a></span>
			</td>
		</tr>
		<tr>
			<td class="bd0"><input type="text" class="i_text inw1"> <input type="text" class="i_text inw7"></td>
		</tr>
		<tr>
			<th scope="col">가입일</th>
			<td>2013년 12월 2일</td>
		</tr>
		<tr>
			<th scope="col"><div>프로필 이미지</div></th>
			<td>
				<div class="comu_img"><img src="../img/img_lecturer01.png" width="100%"/></div>
				<p>JPG, PNG, GIF (100K) / 150 X 200 px</p>
				<div class="i_file"><input name="" type="file" title="레이블 텍스트"></div>
			</td>
		</tr>
		<tr>
			<th scope="col">가입 커뮤니티</th>
			<td><a href="#none" class="link_under"><%=communityCnt%>개</a></td>
		</tr>
		<tr>
			<th scope="col">공유</th>
			<td><a href="#none" class="link_under"><%=share_cnt %>회</a> (물품 : 20건 / 재능 : 2건 / 장소 : 3건)</td>
		</tr>
		<tr>
			<th scope="col">요청</th>
			<td><a href="#none" class="link_under"><%=request_cnt %>회</a> (물품 : 12건 / 재능 : 8건 / 장소 : 2건 )</td>
		</tr>
		<tr>
			<th scope="col">찜</th>
			<td><a href="#none" class="link_under"><%=forkCnt %>건</a> (물품 : 4건 / 재능 : 3건 / 장소 : 3건)</td>
		</tr>
		<tr>
			<th scope="col">최종 선정</th>
			<td><a href="#none" class="link_under">3건</a> (물품 : 6건 / 재능 : 5건 / 장소 : 1건)</td>
		</tr>
		</tbody>
	</table>
	
</div>
	
</div>
<!-- table // -->

<!-- btn -->
<div class="btn_box flL">
	<span class="btn_gray1"><a href="#none">회원탈퇴</a></span>
</div>
<div class="btn_box flR">
	<span class="btn_gray1"><a href="#none">정보수정</a></span>
	<span class="btn_gray1"><a href="<%= request.getContextPath() %>/user/list">목록</a></span>
</div>
	</div>
<!-- Content // -->
	</div>
</div>
</div>
<!-- Container // -->

<!-- 마스크 -->

<div class="mask">
</div>
<div class="layer_pop w520">
	<div class="layer_box">
		<div class="title">우편번호 찾기</div>
		<!-- pop contents -->
<div class="layerpop_con pop_mem_address">
	<p class="sub_tit">주소의 동(읍/리/면) 또는 도로명을 입력하신 후 검색을 눌러주세요.</p>

	<!-- 우편번호 검색 -->
<div class="box_post">

	<!-- 검색어 옵션 -->
<div class="box_address">
	<!--<div class="choose">
	<input type="radio" id="address1" name="adress" checked="checked" class="btn_opens1"><label for="address1">동(읍/리/면) 검색</label>
	<input type="radio" id="address2" name="adress" class="ml30 btn_opens1"><label for="address2">도로명(~로/~길) 검색</label>
</div>-->

<!-- 동읍면리로 검색할때 -->
<div class="search box_opens1 opened">
	<span class="input_text01"><label for="address3" class="blind">상세주소</label><input type="text" id="address3" placeholder="동(읍/면/리)를 입력하세요." class="placeholder"></span> <span class="btn_gray2"><a href="#none">검색</a></span>
	<!-- <p class="mt5">* 검색방법 : 동(읍/면/리) 이름을 입력하세요.<br>
&nbsp;&nbsp;예) 역삼동, 화도읍, 장유면</p> -->
</div>
<!-- 동읍면리로 검색할때 // -->

<!-- 도로명으로 검색할때
<div class="search box_opens1">
	<strong>시도</strong>
	<div class="select2 w116">
		<p><a href="#none">전체</a></p>
		<div class="scrollCon">
			<div class="scrollbar">
				<div class="track">
					<div class="thumb"></div>
				</div>
			</div>
			<div class="viewport">
				<div class="overview">
					<ul>
						<li><a href="#none">전체</a></li>
						<li><a href="#none">서울특별시</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<strong style="margin-left:19px">시군구</strong>
	<div class="select2 w116">
		<p><a href="#none">전체</a></p>
		<div class="scrollCon">
			<div class="scrollbar">
				<div class="track">
					<div class="thumb"></div>
				</div>
			</div>
			<div class="viewport">
				<div class="overview">
					<ul>
						<li><a href="#none">전체</a></li>
						<li><a href="#none">서울특별시</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<span class="input_text01 mt10"><label for="address4" class="blind">상세주소</label><input type="text" id="address4" placeholder="주소를 입력하세요." class="placeholder"></span> <span class="btn_gray2"><a href="#none">검색</a></span>
	<p class="mt5">* 검색방법 : 도로명(~로, ~길)을 입력하세요.   <br>
	  &nbsp;&nbsp;예) 서울시 중구 소공로 70 예) ‘소공로(도로명) 70(건물번호)</p>
</div>
도로명으로 검색할때 // -->
</div>
<!-- 검색어 옵션 // -->

<!-- 우편번호 결과 -->
<div class="tbl_scroll">
<table summary="우편번호, 주소">
	<caption>우편번호 리스트</caption>
<colgroup>
<col style="width:20%">
<col style="width:80%">
<col style="width:20px">
<col>
</colgroup>
<thead>
	<tr>
		<th scope="col">우편번호</th>
		<th scope="col">주소</th>
		<th></th>
	</tr>
</thead>
<tbody>
<!-- 검색 결과 있음 -->
<tr>
<td colspan="3">
	<div class="wrap_scroll">
		<table class="list">
		<caption>우편번호 리스트</caption>
<colgroup>
<col style="width:20%">
<col style="width:80%">
<col>
</colgroup>
		<tr>
			<td class="txtC">100-092</td>
			<td>서울특별시 중구 소공로 지하102 (남대문로2가)</td>
		</tr>
		<tr>
			<td class="txtC">100-092</td>
			<td>서울특별시 중구 소공로 지하102 (남대문로2가)</td>
		</tr>
		<tr>
			<td class="txtC">100-092</td>
			<td>서울특별시 중구 소공로 지하102 (남대문로2가)</td>
		</tr>
		<tr>
			<td class="txtC">100-092</td>
			<td>서울특별시 중구 소공로 지하102 (남대문로2가)</td>
		</tr>
		<tr>
			<td class="txtC">100-092</td>
			<td>서울특별시 중구 소공로 지하102 (남대문로2가)</td>
		</tr>
		<tr>
			<td class="txtC">100-092</td>
			<td>서울특별시 중구 소공로 지하102 (남대문로2가)</td>
		</tr>
		</table>
	</div>
</td>
</tr>
<!-- 검색 결과 있음 // -->
<!-- 검색 결과 없음 -->
<tr>
<td colspan="3" class="no_result">검색 결과가 없습니다.</td>
</tr>
<!-- 검색 결과 없음 // -->
	</tbody>
	</table>
</div>
<!-- 우편번호 결과 //-->

</div>
<!-- 우편번호 검색 -->

</div>
<!-- pop contents // -->
	<a href="#ClosePopup" class="btn_close">창 닫기</a> </div>
</div>
<!-- 마스크 // -->

</body>
</html>